use crate::services::service::Service;

pub fn get_builtin_services() -> Vec<Service> {
    vec![
        dlc(),
        dlc_project_reader(),
        seggpt(),
        cvp(),
        py_calib(),
        stimulus_extract(),
        data_cleaning(),
        data_processing(),
        pipeline()
    ]
}

pub fn get_test_services() -> Vec<Service> {
    vec![
        py_test_service(),
        rust_calculator_service(),
    ]
}

pub fn py_test_service() -> Service {
    Service::new("http://127.0.0.1:5000".into()).unwrap()
}
pub fn stimulus_extract() -> Service {
    Service::new("http://127.0.0.1:5020".into()).unwrap()
}
pub fn data_cleaning() -> Service {
    Service::new("http://127.0.0.1:5030".into()).unwrap()
}
pub fn data_processing() -> Service {
    Service::new("http://127.0.0.1:5050".into()).unwrap()
}
pub fn pipeline() -> Service {
    Service::new("http://127.0.0.1:5060".into()).unwrap()
}
pub fn py_calib() -> Service {
    Service::new("http://127.0.0.1:8100".into()).unwrap()
}
pub fn dlc_project_reader() -> Service {
    Service::new("http://127.0.0.1:8070".into()).unwrap()
}
pub fn cvp() -> Service {
    Service::new("http://127.0.0.1:8090".into()).unwrap()
}
pub fn rust_calculator_service() -> Service {
    Service::new("http://127.0.0.1:8110".into()).unwrap()
}
pub fn dlc() -> Service {
    Service::new("http://127.0.0.1:10000".into()).unwrap()
}
pub fn seggpt() -> Service {
    Service::new("http://127.0.0.1:10010".into()).unwrap()
}